// Generated from <%= script_name %>

package <%= package_name %>;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.shopify.graphql.support.AbstractResponse;
import com.shopify.graphql.support.Arguments;
import com.shopify.graphql.support.Error;
import com.shopify.graphql.support.Query;
import com.shopify.graphql.support.SchemaViolationError;
import com.shopify.graphql.support.TopLevelResponse;
import com.shopify.graphql.support.Input;
<% imports.each do |import| %>
  import <%= import %>;
<% end %>

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;


<% fields = type.fields(include_deprecated: include_deprecated) || [] %>
<%= java_doc(type) %>
<% unless type.object? %>
    <% if type.name == 'Node' %>
      public interface <%= type.name %> extends com.shopify.graphql.support.Node {
    <% else %>
      public interface <%= type.name %> {
    <% end %>
        String getGraphQlTypeName();
        <% fields.each do |field| %>
            <%= java_output_type(field.type) %> get<%= field.classify_name %>();
        <% end %>
    }
<% end %>
